package cn.fsd.vo;

import cn.fsd.domain.Transfer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TransferBean extends Transfer {
    //库房表
    private String storeroom_name;//出库库房
    //分站表
    private String station_name;//入库库房
    //商品表
    private String commodity_name;//商品名称

    public TransferBean(Transfer transfer) {
        super(transfer.getTransfer_id(),transfer.getCommodity_id(),transfer.getStoreroom_id(),transfer.getStation_id(), transfer.getTransfer_sum(),transfer.getOutbound_date(),transfer.getTransfer_status(),transfer.getOrder_id(),transfer.getPath_choice());
    }
}
